<!DOCTYPE html>
<html>
<head>
    <title>巡检选项列表</title>
    #parse("sys/header.html")
</head>
    <body>
    <div>
        <table id="jqGrid"></table>
    </div>
    </body>
<script>
    var typeCode = getQueryString("typeCode");
    var faCode = getQueryString("faCode");
    $(function () {
        $("#jqGrid").Grid({
            url: '../inspectionoption/list?typeCode='+typeCode+"&faCode="+faCode,
            colModel: [
                {label: '选项编号', name: 'optionCode', index: 'OPTION_CODE', width: 60},
                {label: '选项名称', name: 'optionName', index: 'OPTION_NAME', width: 80},
                {label: '设备供应商', name: 'devSupplyName', width: 80},
                {label: '设备类型', name: 'devTypeNameS', index: 'DEVICE_TYPE', width: 60},
                {label: '检查标准', name: 'checkNorm', width: 80},
                {label: '判断标准', name: 'judNorm', width: 80},
                {label: '方法手段', name: 'methodMeans', index: 'METHOD_MEANS', width: 80},
                {label: '选项备注', name: 'optionRemark', index: 'OPTION_REMARK', width: 80},
                {label: '设备供应商', name: 'devSupply', hidden: true},
                {label: 'id', name: 'id', index: 'ID', key: true, hidden: true},
            ]
        });
    });
</script>
</html>
